package top.iridescent;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

@RestController
@Slf4j
public class TestController {

    @GetMapping (value = "/echo/xxx")
    public String echo() {
        Integer i=12;
        log.info("============start request ============");
        return "hello";
    }
}
